package main

import (
	"github.com/lierdan/golangweb/internal/dbops"
	"github.com/lierdan/golangweb/internal/defs"
)

// ...
func main() {
	// router := router.RegisterRouter() //注册路由
	// fmt.Println("server is runing ...")
	// err := http.ListenAndServe(":8085", router)

	// if err != nil {
	// 	fmt.Println("server error:", err.Error())
	// }
	user := &defs.User{
		Name:     "ll",
		Password: "ll",
	}
	// dbops.AddUser(user)
	dbops.SelectUser(user)
}
